Index

Numerals

8-bit colors, 80-83
256-color displays, 80-83

A

About Application item (Help menu), 185
About boxes
designing, 104
supplied graphics for, 285
Abstract Window Toolkit (AWT), 29
accelerator keys. See keyboard shortcuts
access keys. See mnemonics
accessibility, 44-48
accessible names and descriptions, 46
color and, 79-80
ease of use and, 44
icon size and, 85
JFC support for, 30
keyboard focus and, 47, 111-113
keyboard shortcuts and, 46-47
labels and, 46, 217
legal requirements, 45
mnemonics and, 46-47, 118-120
multiplexing look and feel, 10
recommended reading, 13
tab traversal and, 47, 158
tool tips and, 46, 191, 193
usability studies for, 48
activation, 113-115
active components. See available components, spacing of
active windows
color design for borders, 56, 57
example, 19
add object indicators, 98-99
addition symbol (badge), 98-99
alert boxes, 169-172
See also dialog boxes
capitalization of text in, 76
Error, 171-172, 219
Info, 170
keyboard operations for, 254
platform-specific examples, 25
Question, 172
Warning, 25, 170-171
alignment. See spacing and alignment
Alt key, 111, 118-119
Americans With Disabilities Act, 45
animation, 76-77
See also mouse-over feedback
progress, 122-123
status, 123-124
supplied graphics for, 295-298
anti-aliasing, 86
applets, 41-44
browser windows and, 43-44
examples, 19, 25-28
JFC downloads with, 42
menus in, 43
mnemonics in, 43
recommended reading, 14
security issues, 43
supplied graphics for, 299
application graphics, 79-104
See also button graphics; colors; icons
About boxes, 104
badges in, 95-100
corporate and product identity and, 101-104
GIF files and, 80-81
internationalization, 51-52, 84
Java look and feel style, 84
JPEG files and, 80-81, 101
splash screens, 101-103
supplied with JFC, 263-306
symbols, 100-101
tree components, 242
application windows. See primary windows
applications
compared with applets, 3, 19, 41-43
supplied graphics for, 265-286
Apply button, 161
arrow keys, 111, 113, 114, 129, 219, 245
arrows. See arrow keys; indicators; scroll arrows
assistive technologies, 30, 45
See also accessibility
audience for this book, 3
available components, spacing of, 68-69
AWT (Abstract Window Toolkit), 29

B

background canvas, color design for, 57, 58
backing windows, 149-150
keyboard operations, 249
secondary windows and, 156
Backspace key, 111
badges
add object indicators, 98-99
combining indicators, 100
menu indicators, 96-97
new object indicators, 97-98
properties indicators, 99-100
beans, supplied graphics for, 301-302
behavioral design, 105-129
bibliography, 7-14
bit depth, 80
black, use in Java look and feel, 57, 59
blinking. See animation
blues, use in Java look and feel, 55, 58
borders
in button graphics, 91, 190
color design for, 56
in icons, 86
boxes. See About boxes; alert boxes; checkboxes; combo boxes; dialog boxes; list boxes
branding, for products, 101-104
browser windows, 19, 25-28, 43-44
button controls, 195, 196-203
See also button graphics; checkboxes; command buttons; mouse buttons; radio buttons; toggle buttons; toolbar buttons
button graphics, 89-100
See also spacing and alignment
badges in, 95-100
borders in, 91, 190
defined, 84
drop-down arrows in, 190
supplied with JFC, 263-306
use with text, 61, 196, 198-199

C

Cancel button, 103, 160
capitalization, 75-76
cascading menus. See submenus
case-sensitivity, in user input, 210
caution symbols, 101
CDE look and feel, 37, 363
CD-ROM resources, 7
cells in tables, 228-229, 233-234
channels (for scrollbars), 144
check mark graphics, 99-100
checkbox menu items, 180-181
example, 22
keyboard operations for, 252-253
checkboxes, 202
example, 24
font design for, 61
keyboard operations for, 250
in menus, 22, 180-181
spacing of, 68-69, 73
text with, 76, 202
choosers, color, 145-147, 167-168
choosing menu items, 177
clicking, 105-106
See also dragging
Control-clicking, 108
double-clicking, 105, 108
as selection technique, 108
Shift-clicking, 108
triple-clicking, 105, 108
client, 302
client properties, 32
Close button, 104, 161-162
close controls, 138, 139, 140, 150
See also window controls
Close item (File menu), 138, 182
collapse box. See window controls
color choosers, 145-147, 167-168
color model, 18, 55-61
colors, 55-61
See also application graphics
black, 55, 57, 59, 60
blues, 55, 56, 58
cross-platform, 79-83
dithering, 80, 82-83
graphic file formats and, 80-81
grays, 55, 57, 59, 60
Java look and feel model, 55-61
primary, 56, 57, 61
redefining, 60-61
secondary, 55, 56, 58, 61
table of Java look and feel colors, 56-57
web-safe, 80, 82
white, 55, 59, 60
columns in tables
reordering, 230
resizing, 230-231
selecting, 237-240
supplied graphics for, 289
combo boxes, 207-210
capitalization of text with, 76
defined, 195
editable, 209-210
example, 24
internationalization, 51
keyboard operations for, 250
noneditable, 208-209
command buttons, 196-199
See also button graphics; default command buttons; toolbar buttons
in alert boxes, 169
Cancel, 103, 160
Close, 104, 161
color design for, 58
default, 163, 197-198
ellipsis mark in, 199
examples, 23, 24, 197
font design for, 61
graphics in, 199
Help, 162
keyboard operations for, 250
OK, 160
Reset, 161
spacing of, 71, 169, 190
text with, 72, 196, 197, 198-199
Command key, 116
commands, menu. See menu items
common dialog boxes, 164-167
common menus, 181-185
company logos, 101-104
components, 31-36
spacing between, 68-69
spacing for JFC, 70-75
specifying look and feel of, 36-37
table of major JFC components, 32-36
containers, 135-154
See also dialog boxes; windows
content panes, 145-147
contextual help, supplied graphics for, 285
contextual menus, 185-186
See also menus
defined, 173
displaying, 109
keyboard operations for, 252-253
Control key, 22, 108, 111-118, 245
control type style, in Java look and feel, 57, 61
controls, 195-211
See also checkboxes; combo boxes; command buttons; list boxes; radio buttons; sliders; toggle buttons; window controls
capitalization of text with, 76
in menus, 180-181
Copy item (Edit menu), supplied graphics for, 280
copyright information, 102, 104
corporate identity, graphics and, 101-104
crosshair pointers, 107
cross-platform colors, 79-83
See also colors
cross-platform delivery guidelines, defined, 6
cursors. See pointers
Cut item (Edit menu), supplied graphics for, 280

D

data loss and alert boxes, 170
default colors, 55-60
See also colors
default command buttons, 197-198
See also command buttons
behavior of, 163-164
examples, 24, 25
examples of, 197
mnemonics with, 157
default editor kit, 222, 258-259
default fonts, 61
default pointers, 107
delay feedback, 166-167
Delete key, 111, 117
design principles. See principles of design
destination feedback, 110-111
development graphics, supplied, 298-306
dialog boxes, 155-168
See also alert boxes; command buttons; spacing and alignment; utility windows
capitalization of titles and text in, 76
command buttons in, 159-164
default command buttons in, 163
find, 164
initial keyboard focus in, 157
international considerations, 50, 157
keyboard operations for, 254
login, 124-129, 165
mnemonics in, 157
modes, 156
multiple-use, 159
platform-specific examples, 23-24
preferences, 23-24, 157-158, 165-166
progress, 166-167
single-use, 159
tab traversal in, 47, 158
as top-level containers, 137-139
Dialog font, 62
dimmed text, color design for, 56, 58
disabilities. See accessibility
dithering, 80, 82-83
in button graphics, 94
in icons, 88
prevention of, 82-83
dockable toolbars, 187-189
dots in menus. See ellipsis mark
double-clicking, 105, 108
downloading applets, 42
drag texture, 18, 23
drag-and-drop operations, 109-111
dragging
and dropping, 109-111
as selection technique, 105, 108
title bars, 150
toolbars, 187-189
drop-down arrows
See also indicators
for combo boxes, 207-209
for submenus, 175-176
for toolbar buttons, 96-97, 190-191
drop-down menus, 175
See also menus
common, 181-185
defined, 173
displaying, 175
examples, 21-22
keyboard operations for, 252-253
titles of, 174
toolbar buttons and, 190-191

E

EAR files, supplied graphics for, 303-304
ease of use. See principles of design
Edit menu, 183
example, 22
keyboard shortcuts in, 117, 246
mnemonics in, 120, 247-248
supplied graphics for, 280-283
editable combo boxes, 209-210
See also combo boxes
example, 24
in login splash screens, 103
editable text fields, 24, 218-219
editing
password fields, 220
selection techniques, 105-106, 108
supplied graphics for, 280-283
tables, 229
text, 220-223
text fields, 218-219
tree components, 243
editor panes, 221-223
example, 23
keyboard operations for, 258-259
8-bit colors, 80-83
ellipsis mark
in command buttons, 199
in menu items, 178
email, supplied graphics for, 274
End key, 111, 115
Enter key, 111, 114, 115, 126, 198
enterprise beans, supplied graphics for, 301-302
Error alert boxes, 171-172
error messages
capitalization of, 76
in Error alert boxes, 171-172
in login dialog boxes, 128
Escape key, 115, 119, 160, 198
Exit item (File menu), 138, 182
exporting objects, supplied graphics for, 283-284

F

Federal Rehabilitation Act, 45
feedback
while dragging, 110
mouse-over, 108, 192
operational, 121-124
pointer style as, 106, 110, 121, 147
progress bars, 122
progress dialog boxes, 166-167
fields. See password fields; text fields
File menu, 182
Close item in, 182
Exit item in, 182
keyboard shortcuts in, 117, 247
mnemonics in, 120, 247-248
supplied graphics for, 265-268, 271, 272-273
Find Again (Edit menu), supplied graphics for, 279
find dialog boxes, 164
Find item (Edit menu), supplied graphics for, 278
flush 3D effects
See also application graphics
button graphics and, 90-91, 94
component spacing and, 68-69
default theme and, 56, 58
example, 17
icons and, 85-86, 87
symbols and, 84
folders, supplied graphics for, 266
fonts
See also text
international considerations, 53
redefining, 61-62
size, 53
table of default fonts, 61
Format menu, 183
example, 22
keyboard shortcuts in, 117, 120, 246
mnemonics in, 247-248
supplied graphics for, 291-294
formatted text panes. See editor panes
formatting classes, 52
function keys, 111

G

GIF (Graphics Interchange Format), 80-81
glossary, 367-385
gradients
See also application graphics
in button graphics, 94-95
dithering added to, 83
in icons, 88
graphic conventions in this book, 6-7
graphic file formats, 80-81
Graphics Interchange Format (GIF), 80-81
Graphics Repository, 263-306
graphics. See application graphics; button graphics; colors
grays, use in Java look and feel, 55, 56, 60
grids, 62-66

H

hand pointers, 107
handicaps. See accessibility
headline capitalization style, 75-76
Help button, 162
Help menu, 184-185
About Application item in, 185
mnemonics in, 120, 247-248
supplied graphics for, 284-286
help messages, capitalization of, 76
hierarchical menus. See submenus
highlighting, color design for, 56
history files, supplied graphics for, 274
Home key, 111, 115
home location, supplied graphics for, 288
horizontal traversal, supplied graphics for, 287-288
hosts, supplied graphics for, 302
HTML banners, 25-26
HTML editor kits, 223, 251, 258-259
HTTP (Hypertext Transfer Protocol), 298
HTTPS (Secure Hypertext Transfer Protocol), 298
human interface principles. See principles of design

I

I-beam pointer. See pointers
icons, 85-89
See also application graphics
accessibility and, 85
borders in, 86
capitalization of text with, 76
drawing, 87-89
internationalization, 51-52, 84
selection, 105, 108
text in, 87
tool tips for, 85
implementation tips, defined, 7
importing objects, supplied graphics for, 283
inactive windows
color design for, 56, 58
example, 19
indicators, 95-100
add object, 98-99
combining, 100
for combo boxes, 207-210
menu, 96-97
new object, 97-98
properties, 99-100
in sliders, 210-211
for submenus, 175-176
for toolbar buttons, 95-100, 190-191
in tree components, 240
Info alert boxes, 170
informational symbols, 100
input focus. See keyboard focus
insertion point, 106, 108, 112
interaction, design for smooth, 124-129
internal frames. See internal windows
internal utility windows, 151-152
internal windows, 150-151
color design for, 57, 58
keyboard operations for, 249
title text in, 154
internationalization, 48-53
fonts and, 53
formatting classes and, 52
graphics and, 51-52, 84
layout managers and, 50
mnemonics and, 48, 51
internationalization (continued)
placement of checkbox text, 202
placement of radio button text, 203
recommended reading, 12
resource bundles and, 50, 197, 214
scrollbars and, 145
sort order and, 53
Stop button and, 167
studying different locales, 53
text handling and, 50-53, 62
word lists for, 307-361
word order and, 51
internationalization guidelines, defined, 6

J

J2EE application clients
defined, 298
supplied graphics for, 300
J2EE applications
defined, 298
supplied graphics for, 300
J2EE components, 298
J2EE servers
defined, 298
supplied graphics for, 301
JAF (JavaBeans Activation Framework), 298
JApplet component. See applets
JAR files, supplied graphics for, 303-304
Java 2 SDK (Java 2 Software Development Kit), 29-31
Java 2D API, 30
Java Accessibility API, 30
See also accessibility
Java Accessibility Helper, 44, 46
Java Accessibility Utilities, 30
Java applets. See applets
Java Foundation Classes. See JFC
Java IDL (interface definition language), 298
Java look and feel
color model, 55-61
compared to other designs, 37
defined, 29
design fundamentals, 17-18
fonts in, 61
keyboard operations in, 111-120
mouse operations in, 105-111
visual tour of, 18-28
Java look and feel standards, defined, 6
JavaHelp, 185
JavaMail, 298
JButton component. See command buttons; toolbar buttons
JCheckbox component. See checkboxes
JCheckboxMenuItem component. See checkbox menu items
JColorChooser component. See color choosers
JComboBox component. See combo boxes
JDBC (Java Database Connectivity), 298
JDesktopPane component. See backing windows
JDialog component. See dialog boxes; utility windows
JEditorPane component. See editor panes
JFC (Java Foundation Classes)
downloading with applets, 42
features of, 29-32
table of major JFC components, 33-36
JFrame component. See primary windows
JInternalFrame component. See internal windows
JLabel component. See labels
JList component. See list components
JMenu component. See drop-down menus; submenus
JMenuBar component. See menu bars
JMenuItem component. See menu items
JMS (Java Message Service), 298
JNDI (Java Naming and Directory Interface), 298
Joint Photographic Experts Group (JPEG), 80, 101
JOptionPane component. See alert boxes
JPanel component. See panels
JPasswordField component. See password fields
JPEG (Joint Photographic Experts Group), 80, 101
JPopupMenu component. See contextual menus
JProgressBar component. See progress bars
JRadioButton component. See radio buttons
JRadioButtonMenuItem component. See radio button menu items
JScrollBar component. See scrollbars
JScrollPane component. See scroll panes
JSeparator component. See separators
JSlider component. See sliders
JSP (JavaServer Pages), 298
JSplitPane component. See split panes
JTA (Java Transaction API), 298
JTabbedPane component. See tabbed panes
JTable component. See tables
JTextArea component. See text areas
JTextField component. See text fields
JTextPane component. See editor panes
JToggleButton component. See toggle buttons
JToolBar component. See toolbars
JTooltip component. See tool tips
JTree component. See tree components
justification of objects, supplied graphics for, 277
JWindow component. See plain windows

K

key bindings. See keyboard operations
keyboard focus, 111-113
accessibility and, 47, 111-113
defined, 111
initial, 124-125
in selectable lists, 227
utility windows and, 141
keyboard navigation, 113-115
See also keyboard operations
keyboard operations, 111-120
See also keyboard shortcuts; mnemonics
for navigation and activation, 113-115
tables of, 245-261
keyboard shortcuts, 115-117
See also keyboard operations; mnemonics
alphabetical list of, 246-247
defined, 111
duplicates in contextual menus, 186
duplicates in toolbar buttons, 191
example, 22
font design for, 61
in tool tips, 191
style in menus, 116, 174
and supplied graphics, 264
table of common sequences, 117
keys
Alt, 111, 118-119
arrow, 111, 113, 114, 129, 219, 245
Backspace, 111
Command, 116
Control, 22, 108, 111-118, 125, 245
Delete, 111
End, 111, 115
Enter and Return, 111, 114, 115, 126, 198
Escape, 115, 119, 160, 198
function, 111
Home, 111, 115
Meta, 116
modifier, 111, 113-118
Option, 111
Page Down, 111, 114
Page Up, 111, 114
Shift, 108, 111, 113, 125, 245
spacebar, 113, 115
Tab, 113, 114, 125, 245

L

labels, 214-217
See also text
and accessibility, 46
available and unavailable, 215
capitalization of, 75-76
color design for, 56, 57-58
communicating status with, 216
example, 24
font design for, 61
identifying controls with, 215-216
internationalization and, 67
mnemonics in, 216
spacing and alignment of, 67, 75
layers. See containers
layout managers, 50, 142
layout. See spacing and alignment
legal requirements
About boxes, 104
accessibility and, 44
splash screens, 103
list boxes, 204-206
See also combo boxes; list components
list components
keyboard operations for, 251-252
list boxes, 204-206
scrolling in, 205
selectable lists, 226-228
selection in, 108, 205-207
lists. See list components
localization, 48-53
See also internationalization
application graphics and, 84
button graphics and, 90
word lists for, 307-361
login dialog boxes, 124-129, 165
login splash screens, 102-103
look and feel designs, 36-37, 363-365
See also Java look and feel
lower-level containers, 141-149
See also panels; scroll panes; split panes; tabbed panes
Lucida font, 53

M

Macintosh look and feel, 364
MDI (multiple document interface), 149-152
media, supplied graphics for, 294-298
menu bars, 174-175
in applets, 43
example, 21
keyboard operations for, 252-253
menu indicators. See drop-down arrows
menu items, 176-181
See also keyboard shortcuts; menus; mnemonics
About Application (Help menu), 185
available and unavailable, 56, 177
capitalization of, 76
checkbox, 180-181
choosing, 177
Close (File menu), 138, 182
color design for, 56, 57, 58, 59, 174
ellipsis mark in, 178
example, 22
Exit (File menu), 138, 182
graphics in, 180
highlighted, 177
keyboard operations for, 252-253
radio button, 181
in submenus, 176
table of common keyboard shortcuts, 117
table of common mnemonics, 120
menu separators, 21, 179
menu titles, 175
See also keyboard shortcuts; menu items; menus; mnemonics
capitalization of, 76
color design for, 56, 57, 58, 59, 174
example, 21
font design for, 61
order of, 181
menus, 173-193
See also contextual menus; drop-down menus; keyboard shortcuts; menu bars; menu items; menu titles; mnemonics; submenus
applets and, 43
choosing items, 177
color design for, 56, 57, 58, 59, 174
common in Java look and feel, 181-185
displaying, 175
Edit, 22, 117, 120, 183
ellipsis mark in, 178
File, 117, 120, 182
Format, 22, 183
Help, 120, 184-185
keyboard operations for, 252-253
order of, 181
separators, 21, 179
types of, 173
View, 184
Meta key, 116
Metal. See Java look and feel
MetalEdit application, 20-25
Microsoft Windows look and feel, 37, 363
MIME (Multipurpose Internet Mail Extensions), 110
minimized internal utility windows, 151, 249
minimized windows, example, 19
mnemonics, 118-120
See also keyboard operations; keyboard shortcuts
accessibility and, 46-47, 118-120
alphabetical list, 247-248
in applets, 43
defined, 111
in dialog boxes, 125, 157
examples, 22, 24
international considerations, 48, 51
in labels, 24, 216
and supplied graphics, 264
table of common assignments, 120
modal dialog boxes, 156
modeless dialog boxes, 156
models (in components), 31-32
modifier keys, 111, 113-118
See also keyboard shortcuts; mnemonics
mouse buttons, 105-106
mouse operations, 105-111
See also dragging
clicking, 105-106, 108
displaying contextual menus, 109
mouse-over feedback, 108, 192
move pointers, 107
movies, supplied graphics for, 294
moving through time-based media, supplied graphics for, 295-297
multiplatform design, recommended reading, 11
multiple document interface (MDI), 149-152

N

native code, 29
navigation, 113-115
See also keyboard operations
accessibility considerations, 46, 47
between components, 245
defined, 113
keyboard, 113-115
supplied graphics for, 286-288
tab traversal, 47, 126, 158
tables of keyboard operations, 245-262
through text fields, 124-129
nested panes, 147, 148-149
New item (File menu), supplied graphics for, 266
new object indicators, 97-98
nodes, in tree components, 240-241
noneditable combo boxes, 208-209
See also combo boxes
noneditable text fields, 217
See also text fields
null passwords, 127

O

object-oriented graphics, supplied, 265-286
OK button, 160, 162
Open item (File menu), supplied graphics for, 266
operational feedback, 121-124
option buttons. See radio buttons
Option key, 111

P

padding. See spacing and alignment
Page Down key, 111, 114
Page Setup item (File menu), supplied graphics for, 272
Page Up key, 111, 114
palette windows. See internal utility windows; utility windows
palettes, color, 80, 81, 82
See also color choosers; colors
panels, 74-75, 142
panes. See scroll panes; split panes; tabbed panes
password fields, 124-129, 219-220
Paste item (Edit menu), supplied graphics for, 282
plain windows, 101-103, 139-140
platform-specific design, recommended reading, 9-11
pluggable look and feel architecture, 31-32
See also Java look and feel
plug-in editor kits. See editor panes
pointers, 106-107
changing shape of, 106, 110, 121, 147
table of Java 2 platform types, 107
pop-up menus. See combo boxes; contextual menus
pop-up windows. See dialog boxes
posting menus, 175, 177
pre-dithered gradients, 82-83, 88, 94-95
See also application graphics
preferences dialog boxes, 23-24, 157-158, 165-166, 365
preferences indicators, 99-100
primary colors, in Java look and feel, 56, 58
primary windows, 135-138
See also windows
defined, 133
platform-specific examples, 19, 20
principles of design, 41-53
accessibility, 44-48
applets and, 42-44
internationalization and, 48-53
recommended reading, 7-8
Print item (File menu), supplied graphics for, 272
product names, 102, 104
progress animation, 122-123
progress bars, 77, 122-123
color design for, 57, 58
defined, 122
progress dialog boxes, 123, 166-167
progress feedback, 166-167
See also feedback
properties indicators, 99-100
Properties item, supplied graphics for, 271

Q

Question alert boxes, 172
question symbols, 101
Quit. See Exit item

R

radio button menu items, 181
example, 22
keyboard operations for, 252-253
radio buttons, 203
capitalization of text with, 76
example, 24
keyboard operations for, 252-253
in menus, 181
spacing of, 73
reading order and localization, 50-51
recommended reading, 7-14
Redo item (Edit menu), supplied graphics for, 283
Reset button, 161
resize pointers, 107
resource bundles, 50, 197, 214
Retirement Savings Calculator applet, 26-28
Return key, 111, 114, 115, 126, 127, 198
reverse video, 57
RMI-IIOP (Remote Method Invocation-Internet InterORB Protocol), 298
rollovers. See mouse-over feedback
rows in tables
selecting, 234-237
sorting, 232
supplied graphics for, 290
RTF editor kit, 222

S

Save As item (File menu), supplied graphics for, 268
Save item (File menu), supplied graphics for, 267
screen display updates, supplied graphics for, 269-270
screen readers, 30, 124
See also accessibility
scroll arrows, 144-145
scroll boxes, 143
color design for, 57, 58
example, 23
scroll panes, 23, 142-144, 220-221
scrollbars, 143-145
example, 23
internationalization considerations, 145
keyboard operations for, 253-254
in list components, 205
in tables, 230
search operations, supplied graphics for, 278-279
secondary colors, in Java look and feel, 55, 56, 58, 59, 61
secondary menus. See submenus
secondary windows, 133, 138-139
See also alert boxes; dialog boxes
security of information, in applets, 43
selectable lists, 226-228
See also list components
selection, 105-106, 108
of items in list components, 205-207
of items in selectable lists, 226
of table cells, 233-234
of table columns, 237-240
of table rows, 234-237
of text fields, 128-129
sentence capitalization style, 76
separators, 21, 179
servers, supplied graphics for, 302
servlets, 298
settings indicators, 99-100
shadows, color design for, 56, 58
Shift key, 108, 111, 113, 125, 245
shortcut keys. See keyboard shortcuts
shortcut menus. See contextual menus
sliders, 210-211
capitalization of text with, 76
defined, 195
drag texture in, 113
example, 28
keyboard operations for, 255
small type style, in Java look and feel, 57, 61
sorting order and localization, 53
spacebar, 113, 115
spacing and alignment, 62-75
in alert boxes, 169
inside button graphics, 95
of checkboxes, 69, 73
of command buttons, 71-72, 169
between components, 68-69
design grids and, 62-65
in dialog boxes, 63-66
of labels, 67, 75
layout managers and, 50, 142
in login dialog boxes, 128
of radio buttons, 73
in tables, 230
of text, 66-67, 69
of titled borders, 74-75
of toggle buttons, 200-201
of toolbar buttons, 70
splash screens, 101-103, 139-140
split panes, 147-149
drag texture in, 113
keyboard operations for, 255
splitter bars, 148
standard menus. See drop-down menus
status animation, 123-124
status messages, 128-129
Stop button, 167
styled text editor kit, 222, 258-259
submenus, 175-176
See also menus
defined, 173
keyboard operations for, 252
Swing classes, 29
Swing. See JFC
switching look and feel designs, 363-365
symbols, 84, 100-101
system colors, 81
system type style, in Java look and feel, 56, 61

T

Tab key, 113, 114, 125, 245
tab traversal, 47, 158
tabbed panes, 145-147
capitalization of tab names, 76
keyboard operations for, 256
tables, 228-240
cell background color, 229
editing cells, 229
example, 28
font design for, 61
format options, 230
keyboard operations for, 256-258
reordering columns, 230
resizing columns, 230-231
scrolling in, 230
selectable lists and, 226
selecting cells, 233-234
selecting columns, 237-240
selecting rows, 234-237
selection techniques in, 108
sorting rows, 232
supplied graphics for, 289-290
text, 213-223
See also editor panes; fonts; labels; password fields; text areas; text fields
in buttons, 71-72, 189, 197
capitalization in interface, 75-76
color design for, 56
internationalization and, 30, 53, 67
pointers, 107
selection, 105, 108
spacing and alignment, 66-67, 69
supplied graphics for, 291-294
use in labels, 66
text areas, 220-221, 258-259
text fields, 217-219
in combo boxes, 209, 210
design for smooth interaction, 124-129
examples, 24, 28
font design for, 61
keyboard operations for, 260
selectable lists and, 227-228
in sliders, 211
themes, 55-62
three-dimensional effects. See flush 3D effects
thumbs. See scroll boxes; sliders
tip of the day, supplied graphics for, 286
title bars
See also window titles
alert box examples, 25
capitalization of text in, 76
color design for, 56, 58
dialog box examples, 24
dragging, 150
text in, 152-154
window examples, 20
titled borders, 74-75
toggle buttons, 200-201
See also button graphics; command buttons; toolbar buttons
example, 23
keyboard operations for, 260
tool tips, 191-193
and accessibility, 46, 193
capitalization of, 76
font design for, 61
keyboard operations for, 261
timing of, 192
for toolbar buttons, 191
toolbar buttons, 189-191
See also button graphics; command buttons; toggle buttons
badges in, 95-100
examples, 20, 23
graphics in, 89-90
with menus, 190-191
spacing of, 70
text in, 189
tool tips for, 70
toolbars, 186-191
docking, 187-189
examples, 20, 23
keyboard operations for, 261
spacing of buttons in, 70
tool tips for, 191
top-level containers, 137-140
See also dialog boxes; plain windows; primary windows; utility windows
trademarks, 102, 104
translated text, 48-51
for Stop button, 167
word lists for localization, 307-361
tree components, 240-242
font design for, 61
keyboard operations for, 261-262
tree views. See tree components
triangles. See drop-down arrows
triple-clicking, 105, 108
turners, 240-241
twinkle graphics, 97-98
type styles
in Java look and feel, 61
supplied graphics for, 293-294
typography. See fonts; text

U

unavailable components, spacing of, 68-69
unavailable menu items, 56, 177
Undo item (Edit menu), supplied graphics for, 282
usability studies
accessibility issues, 48
interaction issues, 126
internationalization, 53
user type style, in Java look and feel, 57, 61
utility windows, 140-141
defined, 133
keyboard operations for, 254

V

version numbers, in About box, 104
vertical spacing. See spacing and alignment
vertical traversal, supplied graphics for, 286-287
View menu, 184
keyboard shortcut in, 247
mnemonics in, 247-248
visual design, 55-77
See also application graphics; colors; spacing and alignment
visual identifiers, product, 102, 104

W

wait pointers, 107, 121
WAR files, supplied graphics for, 304-306
Warning alert boxes, 25, 170-171
warning symbols, 100
web components, supplied graphics for, 304-306
web. See applets
web-safe colors, 80, 82
white, use in Java look and feel, 55, 59
window controls
close controls, 138, 139, 140, 150
in internal windows, 150
in plain windows, 139-140
platform-specific examples, 20
in primary windows, 137-138
window titles
capitalization of text in, 75, 76
font design for, 61
for internal windows, 154
for primary windows, 152
for secondary windows, 153
for user documents, 75
windows, 133-154
See also alert boxes; dialog boxes
active, 19, 56, 57
browser, 19, 26-28, 43-44
capitalization of titles, 75, 76
color design for, 56, 57, 58
frames and, 36
internal, 150
internal utility, 151-152
keyboard focus, 112
keyboard operations for, 249-254
in MDIs, 149
panels and panes in, 74-75, 141-149
plain, 101-103, 139-140
platform-specific examples, 19, 20
primary, 133, 135-138
secondary, 133, 138-139
title text in, 61, 75, 76, 152-154
as top-level containers, 137-140
utility, 133, 140-141
Windows. See Microsoft Windows look and feel
word lists for localization, 307-361
word order and localization, 51
word wrap, in text areas, 220-221

Z

zoom box. See window controls
zoom buttons, 147-148
zooming panes, 148
zooming, supplied graphics for, 269-270